//package hui.com.controller;
//
//import hui.com.service.UserLogService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.security.access.prepost.PreAuthorize;
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.CrossOrigin;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.ResponseBody;
//
//import javax.annotation.Resource;
//@CrossOrigin(origins = "*")//处理跨源资源共享
//@Controller
////@RequestMapping("/pri")
//public class PriSY {
//
//    @Autowired
//    @Resource
//    UserLogService userLogService;
//
////    @GetMapping("/log")
////    @ResponseBody
////    public String log(Users users){
////        userService.getUsers(users);
////        return "aa";
////    };
////
////    @GetMapping("/logs")
////    @ResponseBody
////    public String logs(){
////        return "logs";
////    };
//
//
//    @PreAuthorize("hasPermission('ResourceType', 'read')")
//    @GetMapping("/aaa")
//    @ResponseBody
//    public String aaa(){
//        return "aas";
//    };
//}
